/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.celiosilva.simbanc.exceptions;

import com.celiosilva.simbanc.business.seguranca.Permissao;

/**
 *
 * @author celio@celiosilva.com
 */
public class AcessoNegadoException extends SistemaException {

    private final           Permissao           permissaoNecessaria;
    public AcessoNegadoException(String message, Permissao permissao) {
        super(message, null);
        this.permissaoNecessaria = permissao;
    }

}
